package unit2;


public class Ex2_26_WeekName {
    public static void main(String[] args) {
        String source = "日一二三四五六", weekday;
        int i;
        for (i = 0; i < 7; i++) {
            weekday = source.substring(i, i + 1);
            System.out.println("星期" + weekday);
        }
    }
}
